﻿using Newtonsoft.Json;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Data.SqlClient;

using UtilsORM.MySqlData;

////using System.Web.Script.Serialization;

namespace ServiceWeb.WebAdmin
{
    public class ServiceCompanyUser
    {


        //public bool UpdatePwd(string Emp_Guid, string pwd)
        //{
        //    return _DAl.UpdatePwd(Emp_Guid, pwd);
        //}

        public Dictionary<string, string> GetEditInfo(string myempguid, int _id, string Role)
        {


            DataTable dt = new DataTable();
            ArrayList AList = new ArrayList();
            //  Hashtable ht = new Hashtable();

            Dictionary<string, string> ht = new Dictionary<string, string>();






            return ht;
        }

        public bs_client_user LoginCheck(string Emp_LoginName, string Emp_Pwd)
        {
            bs_client_user client_User = new UtilsORM.EFYihongIotContext().bs_client_user.Where(c => c.cu_account == Emp_LoginName && c.cu_pwd == Emp_Pwd && c.cu_status == 0).FirstOrDefault();
            return client_User;
        }



    }
}
